<div class="row">
    <div class="col-lg-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>
                    <span><vc:i18n name="关联房屋" namespace="contractChangeAssets"></vc:i18n></span>
                </h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_selectRoom()">
                        <i class="fa fa-plus"></i>添加
                    </button>
                </div>
            </div>
            <div class="ibox-content">
                <table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px"
                       data-page-size="10">
                    <thead>
                    <tr>
                        <!-- <th><span><vc:i18n name="房屋" namespace="contractChangeAssets"></vc:i18n></span>ID</th> -->
                        <th data-hide="phone" class="text-center">
                            <span><vc:i18n name="房屋" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                        <th data-hide="phone" class="text-center">
                            <span><vc:i18n name="业主" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                        <th data-hide="phone" class="text-center">
                            <span><vc:i18n name="电话" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                        <th data-hide="phone" class="text-center">
                            <span><vc:i18n name="建筑面积" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                        <th data-hide="phone" class="text-center">
                            <span><vc:i18n name="房屋状态" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="操作" namespace="contractChangeAssets"></vc:i18n></span>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="room in contractChangeAssetsInfo.rooms">
                        <td class="text-center">
                            {{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}}
                        </td>
                        <td class="text-center">
                            {{room.ownerName}}
                        </td>
                        <td class="text-center">
                            {{room.link}}
                        </td>
                        <td class="text-center">
                            {{room.builtUpArea}}
                            <span><vc:i18n name="平方米" namespace="contractChangeAssets"></vc:i18n></span>
                        </td>
                        <td class="text-center">
                            {{room.stateName}}
                        </td>
                        <td class="text-center">
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs"
                                        v-on:click="_openDelRoomModel(room)">
                                    <span><vc:i18n name="删除" namespace="contractChangeAssets"></vc:i18n></span>
                                </button>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                    <tfoot>
                    <tr>
                        <td colspan="6">
                            <ul class="pagination float-right"></ul>
                        </td>
                    </tr>
                    </tfoot>
                </table>
                <!-- 分页 -->
                <vc:create path="frame/pagination"></vc:create>
            </div>
        </div>
    </div>
    <vc:create path="property/searchRoom" emitChooseRoom="contractChangeAssets" emitLoadData="contractChangeAssets"
               roomFlag="">
    </vc:create>
</div>
